package com.ml.mall.service.delivery;

import com.ml.mall.bean.req.delivery.DeliveryEditReq;
import com.ml.mall.bean.req.delivery.DeliveryNewReq;
import com.ml.mall.entity.delivery.SysOrderDelivery;
import com.baomidou.mybatisplus.extension.service.IService;

public interface SysOrderDeliveryService extends IService<SysOrderDelivery> {

    /**
     * @description: 根据订单号查询物流
     * @author kyyang
     * @date 2021/5/29 21:29
     * @version 1.0
     */
    SysOrderDelivery selectSysOrderDeliveryByOid(String supplierOid);

    /**
     * @description: 创建卖家物流
     * @author kyyangy
     * @date 2021/5/29 21:39
     * @version 1.0
     */
    int sysOrderDeliveryNew(DeliveryNewReq req);

    int sysOrderDeliveryEdit(DeliveryEditReq req);
}
